Interface sbktech.tools.hashjava.bytecode.Modifiable
All Packages Class Hierarchy This Package Previous Next Index
Interface sbktech.tools.hashjava.bytecode.Modifiable
- public interface Modifiable
- extends Object
A Modifiable class contains a symbol that can be renamed. You can
examine and alter the symbols name with this interface. There
are only three types of modifiable objects -- classnames, fields
in a class and methods in a class.
- Author:
- $Author: kbs $
- See Also:
- definedFields, definedMethods
-
newName()
- Get the (possibly renamed) name for this Symbol
-
originalName()
- Get the original name for this Symbol
-
permissions()
- get the access permissions for this symbol
-
rename(String)
- Rename the symbol
permissions
public abstract int permissions()
- get the access permissions for this symbol
- Returns:
- an integer (see values in VMConstants)
with the access permissions for this symbol
- See Also:
- VMConstants
originalName
public abstract String originalName()
- Get the original name for this Symbol
newName
public abstract String newName()
- Get the (possibly renamed) name for this Symbol
rename
public abstract void rename(String newName)
- Rename the symbol
- Parameters:
- newName - set the new name for this symbol
All Packages Class Hierarchy This Package Previous Next Index